/*
 * Author: Andrew Shore
 * CSCE 145 Section 004
 * Lab Test 2
 */
public class Warehouse extends Building {
	
	private int squareFootage;
	
	//constructors
	public Warehouse(){
		super();
		squareFootage=0;
	}
	public Warehouse(String aName, String aCity, int aFloor,int a){
		super( aName, aCity, aFloor);
		squareFootage=a;
	}
	
	//accessor
	public int getSquareFootage(){
		return squareFootage;
	}
	
	//mutator
	public void setSquareFootage(int a){
		squareFootage=a;
	}
	

	//inherited from Building class
	public void printInfo() {
		System.out.println(getName()+" is located in "+getCity()+" and has "+getFloors()+" floors and "+squareFootage+" square feet");
		
	}

}
